<!DOCTYPE html>
{% load future wenlincms_tags staticfiles wlcore_tags %}

<html class="no-js" lang="zh-CN">
{% block html_head %}
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport"
              content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <meta name="format-detection" content="telephone=no">
        <meta name="renderer" content="webkit|ie-stand|ie-comp">
        <meta http-equiv="Cache-Control" content="no-siteapp"/>
        <meta http-equiv="x-dns-prefetch-control" content="on"/>
        <meta name="keywords" content="{% block meta_keywords %}{% endblock %}">
        <meta name="description"
              content="{% block meta_description %}{% endblock %}">
        <title>
            {% block meta_title %}首页{% endblock %}
            {% block main_title %} | {{ sitesettings.website_name }}{% endblock %}
        </title>
        <link rel="shortcut icon" href="{{ STATIC_URL }}favicon.ico">
        <link type="text/plain" href="/humans.txt" rel="author">
        {% block main_css %}
            <link rel="stylesheet" href="{{ STATIC_URL }}opensource/amazeui-2.5.2/css/amazeui.min.css">
        {% endblock %}
        {% block extra_css %}
            <link rel="stylesheet" href="{{ STATIC_URL }}{{ "element/saas/css/saas.css"|file_time_stamp }}">
        {% endblock %}
        {% block main_js %}
            <!--[if lt IE 9]>
                <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
                <script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
                <script src="{{ STATIC_URL }}opensource/amazeui-2.5.2/js/amazeui.ie8polyfill.min.js"></script>
            <![endif]-->
            <!--[if (gte IE 9)|!(IE)]><!-->
            <script src="{{ STATIC_URL }}opensource/amazeui-2.5.2/js/jquery.min.js"></script>
            <!--<![endif]-->
            <script src="{{ STATIC_URL }}opensource/amazeui-2.5.2/js/amazeui.min.js"></script>
        {% endblock %}
        {% block extra_js %}{% endblock %}
        {% block extra_head %}{% endblock %}
    </head>
{% endblock %}

<body>
{#--主导航栏--#}
{% block header %}{% include "element/saas/header.html" %}{% endblock %}

{#--主体--#}
{% block wlmain %}
    <div class="am-cf admin-main">
        {#--侧边栏--#}
        {% block siderbar %}{% include "element/saas/siderbar.html" %}{% endblock %}
        {% block loading %}
            <div id="saasloading">
                <div class="spinner">
                    <div class="bounce1"></div>
                    <div class="bounce2"></div>
                    <div class="bounce3"></div>
                </div>
            </div>
        {% endblock %}
        {% block main %}{% endblock %}
    </div>
{% endblock %}

{#--页脚--#}
{% block footer %}{% include "element/saas/footer.html" %}{% endblock %}

{% block footer_js %}
    <script src="{{ STATIC_URL }}{{ "element/saas/js/saas.js"|file_time_stamp }}"></script>
{% endblock %}
</body>
</html>
